<template>
  <div class="prescription-list-container">
    <div
      class="prescription-item"
    >
      <ul class="item-ul">
        <li class="item-li" v-for="(det,detidx) in prescriptionItem.details" :key="detidx">
          <span>{{det.product_name}}，{{det.number}}，{{det.remark}}</span>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
    props: {
        prescriptionItem: {
            type: Object,
            default: ()=>{}
        }
    }
}
</script>

<style lang="scss" scoped>
@import "@/assets/scss/print/ypPrescriptionList.scss";
</style>